﻿
using Mall.DomainModel;
using Mall.Service.Dto;

namespace Mall.Web.ViewModel
{
    public class ViewModelAutoMapperInit
    {
        //public static void InitMap(IMapperConfigurationExpression cfg)
        //{
        //    cfg.CreateMap<ShipperManageUserOutput, ShipperManageUserListVM>()
        //   .ForMember(x => x.Data, a => a.MapFrom(x => x.Items))
        //   .ForMember(x => x.Total, a => a.MapFrom(x => x.TotalCount));
        //  //  cfg.CreateMap<ShipperPreOrderDto, ShipperManageUserItemVM>();
        //    //cfg.CreateMap<ShipperPreOrderQueryVM, ShipperPreOrderQueryInput>();
        //    cfg.CreateMap<ShipperManageUser, ShipperManageUserItemVM>();
        //}
    }
}
